package com.fau.wmbj.server.storage;

import org.springframework.stereotype.Component;
import org.springframework.web.multipart.MultipartFile;

import java.io.File;
import java.io.InputStream;

/**
 * Oss 存储
 *
 * @author jiawei
 * @version 1.0
 * @datetime 2024/6/27 下午4:54
 */
@Component("ossStorage")
public class OssStorage extends Storage {


    @Override
    public String getName() {
        return "";
    }

    @Override
    public String upload(String path, File file, String extension, boolean open) throws Exception {
        return "";
    }

    @Override
    public String upload(String path, MultipartFile multipartFile, boolean open) throws Exception {
        return "";
    }

    @Override
    public void delete(StorageDirectory storageDirectory, boolean isPreview) {

    }

    @Override
    public void delete(String url, String groupId) {

    }

    @Override
    public String getUrl(StorageDirectory storageDirectory, boolean isPreview, int timeOut) {
        return "";
    }

    @Override
    public String getStoragePath(String diskPath) {
        return "";
    }

    @Override
    public InputStream download(StorageDirectory storageDirectory, boolean isPreview) {
        return null;
    }
}
